package com.kinglone.back.role.service;

import com.kinglone.back.role.model.Role;
import com.kinglone.common.node.ZTreeNode;
import com.kinglone.common.utils.ResultMsg;

import java.util.List;
import java.util.Map;

public interface RoleService {


    List<Role> list(Map<String, Object> map);

    int getTotal(Map<String, Object> map);

    List<ZTreeNode> roleTreeList();

    List<ZTreeNode> roleTreeListByRoleId(String[] strArray);

    ResultMsg setAuthority(Integer roleId, String ids);

    String getRoleNameByRoleId(Integer roleId);

}
